package it.polimi.traveldream.ejb.entities;

import java.io.Serializable;

import javax.persistence.*;


/**
 * The persistent class for the hotelcomposition database table.
 * 
 */
@Entity
@NamedQuery(name="Hotelcomposition.findAll", query="SELECT h FROM Hotelcomposition h")
public class Hotelcomposition implements Serializable {
	private static final long serialVersionUID = -2368675921363556551L;
	private HotelcompositionPK id;

	public Hotelcomposition() {
		super();
	}

	@EmbeddedId
	public HotelcompositionPK getId() {
		return this.id;
	}

	public void setId(HotelcompositionPK id) {
		this.id = id;
	}

}